<?php 
	session_start(); 
	$username=$_SESSION['user_chpass'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title></title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link rel="stylesheet" type="text/css" href="style.css" media="screen" />
	<link rel="shortcut icon" href="images/favicon.ico" />
</head>
<body class="iub_back">
<form method="post" action="passchange.php">
<input type="hidden" name="user_name" value="<?php echo $username;?>" />
	<table align="center" border="0" class="table_border"  >
		<tr>
				<td align="center"><p>Change Password </p></td>
		</tr>
		<tr>
				<td align="center" <?php if($_SESSION['check'] ==1||$_SESSION['check'] ==2) { ?>style="color:#FFF; background-color:#FE3C36; "<?php }else {?>style="display:none;"<?php }?>>
					<marquee width="120px" >
						<?php if($_SESSION['check'] ==1){?>Both password don't match<?php }?>
						<?php if($_SESSION['check'] ==2){?>username and password cannot be same<?php }?>
					</marquee>
				</td>
		</tr>
		<tr>
				<td> Password :<br /><input type="password" name="pass1"  /></td>
		</tr>
		<tr>
				<td> Password Again : <br /><input type="password" name="pass2" /></td>
		</tr>
		<tr>
				<td align="center"><input type="submit" value="submit" class="input-box"  /> <input type="reset" class="input-box" /></td>
		</tr>
		
	</table>
</form>
</body>
</html>